package cn.caplike.demo.algorithm.tree.trie;

import java.util.HashMap;

/**
 * Description: 节点.
 *
 * @author LiKe
 * @date 2023-06-19 09:24:57
 */
class TrieNode {
    HashMap<Character,TrieNode> children = new HashMap<>();
    private boolean isEnd;

    public boolean isEnd() {
        return isEnd;
    }

    public void setEnd(boolean end) {
        isEnd = end;
    }
}
